#import <Cocoa/Cocoa.h>
#import "sbrush_instrument.h"

@interface BuildController : NSWindowController {
	NSView* _instrumentView;
	sbrush::Instrument* _instrument;
	NSMutableArray* modelItems;
	NSMutableArray* pantomimeItems;
	IBOutlet NSButton* playModelButton;
}

@property (retain) NSMutableArray* modelItems;
@property (retain) NSMutableArray* pantomimeItems;

- (id) initWithPantomimeArray:(NSMutableArray*)pantArray
				   modelArray:(NSMutableArray*)modelArray
				   instrument:(sbrush::Instrument*)instrument
			   instrumentView:(NSView*)instrumentView;
			
- (IBAction) build:(id)sender;
- (IBAction) load:(id)sender;
- (IBAction) play:(id)sender;
- (NSArray*) getSelectedPantomimes;

@end
